package Exam;

import java.util.Scanner;

/**
 * @Author Kechelle
 * @Date 2020/9/26 19:11
 * @Version 1.0
 */
public class ClassOne {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int num = scanner.nextInt();
        function(num);
    }

    public static void function(int num){
        for (int i=2;i<=num;i++){
            if (i == num){
                System.out.println(i);
                return;
            }
            if (num>i&&(num%i==0)){
                System.out.print(i+"*");
                function(num/i);
                break;
            }
        }
    }
}
